package cn.tedu.yushougeproduct.mapper;

import cn.tedu.yushougeproduct.pojo.entity.Comment;
import cn.tedu.yushougeproduct.pojo.vo.CommentListItemVO;
import cn.tedu.yushougeproduct.pojo.vo.CommentStandardVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface CommentMapper extends BaseMapper<Comment> {

    CommentStandardVO getStandardById(Long id);

    List<CommentListItemVO> list();

}
